import { createRouter, createWebHashHistory } from 'vue-router'
//引入创建的路由
import { routes } from './routes.ts'
//创建路由器
const router = createRouter({
  history: createWebHashHistory(),
  routes: routes
})

export default router